package com.atguigu.pojo;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;

@Data
@TableName("user")
public class User {

    @TableId(value = "id", type = IdType.AUTO)
    private String id; //uuid

    @TableField("name")
    private String name;

    //@TableField("age")
    private Integer age;

    //@TableField("email")
    private String email;

    //这就是逻辑删除的状态字段！ 默认： mybatis-plus 删除 1 未删除0
    //@TableLogic
    private Integer deleted;
}